:host {
  position: relative;
}

.markdown-toc {
  min-height: 600px;
  height: calc(100vh - 66px);
  overflow-y: hidden;

  .left-drawer {
    width: 15%;
    min-width: 120px;
    position: absolute;
  }

  .right-content {
    padding: 0 2em;
  }
}

.no-toc-markdown {
  width: 95%;
  margin: 1em auto 0;
  height: calc(100vh - 66px);
}

.sticky {
  position: fixed;
  overflow: hidden;
  z-index: 10;
}

.scroll-to-top {
  position: fixed;
  bottom: 64px;
  right: 32px;
  opacity: 0;
  transition: all .2s ease-in-out;
}

.show-scrollTop {
  opacity: 1;
  z-index: 999;
  transition: all .2s ease-in-out;
}
